import { AxiosRequestConfig } from 'axios'
import serverApiUtils from '@/core/utils/serverApiUtils'
import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import http from '@/components/axios/http'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import BaseAdminServerApi from '@/core/framework/serverapi/BaseAdminServerApi'
import SmsApplicationResponse from '@/core/sms/generated/types/model/response/SmsApplicationResponse'
import smsAdminApiConfig from '@/core/sms/generated/apiconfig/smsAdminApiConfig'

const moduleApiConfig = smsAdminApiConfig.smsApplication

class SmsApplicationAdminServerApi extends BaseAdminServerApi<string, SmsApplicationResponse> {}

const adminServerApi = new SmsApplicationAdminServerApi({ adminApiConfig: moduleApiConfig })

export default adminServerApi
